/* eslint-disable no-unused-vars */
<template>
  <div class="mycontent">
    <div class="download-app">
        <img src="../assets/my-logo.png" alt=""  @click="goroot"/>
      <a href="javascript:;" class="benefit-text">发现最新最热电影</a>
      <a href="#" class="link btn-open-app-custom"
        >打开App<span class="iconfont icon-jinrujiantou"></span
      ></a>
    </div>
  </div>
</template>

<script>
export default {
  name: "MyHeader2",
  methods:{
    goroot(){
      this.$router.push({path:'/'},
        // eslint-disable-next-line no-unused-vars
        onComplete =>{},
        // eslint-disable-next-line no-unused-vars
        onabort=>{}
      )
    }
  }
};
</script>

<style lang="less">
.mycontent {
  width: 100%;
  height: 58px;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  position: relative;
  box-sizing: border-box;
  align-items: center;
  display: flex;
  background-color: #fff;
  left: 0;
  z-index: 11;

  .download-app {
    img {
      position: absolute;
      display: inline-block;
      width: 2.5067rem;
      height: 1.04rem;
      left: 0.2667rem;
      top: 0.2667rem;
    }

    .benefit-text {
      display: inline-block;
      position: absolute;
      height: 0.4533rem;
      line-height: 0;
      width: 2.9867rem;
      right: 2.7467rem;
      font-weight: 600;
      color: #666;
      text-decoration: none;
      font-size: 14px;
    }

    .btn-open-app-custom {
      position: absolute;
      right: 0.3333rem;
      height: 0.5493rem;
      line-height: 0;
      font-weight: 700;
      text-align: center;
      font-family: PingFangSC-Medium;
      color: #b37e7e;
      font-size: 16px;

      .icon-jinrujiantou {
        font-size: 12px;
      }
    }
  }
}
</style>